<template>
  <div class="bar">
    这是bar页面.vue
    <img src="../assets/03.png">
  </div>
</template>

<script>
export default {
  name: 'Bar',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  },
  mounted(){
    console.log(this.$route.params.id)
    console.log(this.$route.params.name)
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
